package ${pkName};

import cn.sinohealth.EsConstant;

/**
* EsMapper annotation processor generate the file
*/
public class ${className} implements EsConstant{
<#if aliasIndices?default("")?trim?length gt 1>
    <#assign alias="${aliasIndices}_list">
    public static final String INDICES_ALIAS="${alias}";
    public static final String INDICES_1="${alias}_1";
    public static final String INDICES_2="${alias}_2";
</#if>
<#if mappingFile?default("")?trim?length gt 1>
    public static final String INDICES_MAPPING_FILE="${mappingFile}";
</#if>
<#list fieldList as f>
    public static final String ${f?replace("([a-z])([A-Z]+)","$1_$2","r")?replace(".","_")?upper_case} = "${f}";
</#list>
}